package jp.co.toshiba.ffsa.form.cstp;

import jp.co.toshiba.ffsa.form.BaseForm;

import org.seasar.struts.annotation.Arg;
import org.seasar.struts.annotation.Maxlength;
import org.seasar.struts.annotation.Msg;
import org.seasar.struts.annotation.Required;

/**
 * TopページForm
 * @author npc
 */
public class Cstp101Form extends BaseForm {
    /** メールアドレス */
    @Required(msg=@Msg(key="errors.required", resource=true), arg0=@Arg(key="mail_address", resource=true))
    @Maxlength(maxlength=256, msg=@Msg(key="errors.maxlength", resource=true), arg0=@Arg(key="mail_address", resource=true), arg1=@Arg(key="256", resource=false))
    public String emailAddress;
    /** パスワード */
    @Required(msg=@Msg(key="errors.required", resource=true), arg0=@Arg(key="password", resource=true))
    @Maxlength(maxlength=12, msg=@Msg(key="errors.maxlength", resource=true), arg0=@Arg(key="password", resource=true), arg1=@Arg(key="12", resource=false))
    public String password;
    /** メッセージ */
    public String message;

}